package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
public interface SetmealDao {
    public List<Setmeal> findPage(String value);
    public void add(Setmeal setmeal);
    public void edit(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map map);
    public Setmeal findById(Integer id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void deleteAssocication(Integer id);
    public void delete(Integer id);
    public List<Setmeal> findAll();
}
